﻿using System;
using System.Collections.Generic;
using System.Text;
using OVS.CoreDomain.Business;
using OVS.Data;
using OVS.CoreDomain;
using OVS.CoreDomain.Data;

namespace OVS.Business
{
    public class BusinessPanchayat : IBusinessPanchayat
    {
        public IDalPanchayat  _dalPanchayat;
        #region IBusinessPanchayat Members

        public BusinessPanchayat(IDalPanchayat dalPanchayat)
        {
            _dalPanchayat = dalPanchayat;
        }

        public BusinessPanchayat()
        {
            _dalPanchayat = new DalPanchayat();
        }
        public IList<IPanchayat> GetPanchayats(string districtId)
        {
            return _dalPanchayat.GetPanchayats(districtId);
        }

        #endregion
    }
}
